package com.yuan.order.repository;

import com.yuan.order.dataobject.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 卖家
 *
 * @Author yuan
 * @Date 2021/3/12 15:49
 */
public interface SellerInfoRepository extends JpaRepository<SellerInfo, String> {
    /**
     * 通过openid查询卖家端信息
     *
     * @param openid
     * @return
     */
    SellerInfo findByOpenid(String openid);
}
